package fr.vvins.core.biz.order.dto;

import java.io.Serializable;

import fr.vvins.core.common.dto.BeanDtoImpl;
import fr.vvins.core.common.dto.annotation.Dto;
import fr.vvins.core.order.entity.ShippingItem;

/**
 * ShippingItem entity
 */
@Dto(name="ShippingItem", entity=ShippingItem.class)
public class ShippingItemDto extends BeanDtoImpl implements Serializable {

	private static final long serialVersionUID = 7134342928503747289L;
	private OrderDto order;
	private ShippingMethodDto shippingMethod;
	private CommerceItemDto commerceItem;
	private Integer status;
	private String data;

	public ShippingItemDto() {
	}

	public ShippingItemDto(Integer id, OrderDto order, ShippingMethodDto shippingMethod,
			CommerceItemDto commerceItem, Integer status, String data) {
		super();
		this.id = id;
		this.order = order;
		this.shippingMethod = shippingMethod;
		this.commerceItem = commerceItem;
		this.status = status;
		this.data = data;
	}

	public ShippingItemDto(int id) {
		this.id = id;
	}

	public OrderDto getOrder() {
		return order;
	}

	public void setOrder(OrderDto order) {
		this.order = order;
	}

	public ShippingMethodDto getShippingMethod() {
		return shippingMethod;
	}

	public void setShippingMethod(ShippingMethodDto shippingMethod) {
		this.shippingMethod = shippingMethod;
	}

	public CommerceItemDto getCommerceItem() {
		return commerceItem;
	}

	public void setCommerceItem(CommerceItemDto commerceItem) {
		this.commerceItem = commerceItem;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getData() {
		return data;
	}

	public void setData(String data) {
		this.data = data;
	}

	
}
